<template>
  <div>
    <hot-map :height="chartHeight"></hot-map>
  </div>
</template>

<script>


  import HotMap from "../../../components/Charts/HotMap";

  export default {
    name: 'Hot',
    components: { HotMap },
    data() {
      return {
        info: null,
        chartHeight: '100px',
      }
    },
    created() {
      const h = window.innerHeight;
      this.chartHeight = (h - 50) + 'px';
      //console.log(this.chartHeight);
    },
    methods: {
      handleClick(message) {
        this.$message(message);
      },
      showInfo(info) {
        this.$alert(info, '提示', {
          confirmButtonText: '确定',
          callback: action => {
            this.$message({
              type: 'info',
              message: `action: ${action}`
            });
          }
        });
      }
    }
  }
</script>

<style rel="stylesheet/scss" lang="scss" scoped>

</style>
